package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @auther falls_vc
 * description:
 * @date 2025/5/28  19:33
 */
@Data
public class CreatePrizeByActivityParam implements Serializable {
    /**
     * 奖品id
     */
    @NotNull(message = "活动关联产品id不能为空！")
    private Long prizeId;
    /**
     * 奖品数量
     */
    @NotNull(message = "活动关联产品数量不能为空！")
    private Long prizeAmount;
    /**
     * 奖品等级
     */
    @NotBlank(message = "活动关联产品等级不能为空！")
    private String prizeTiers;
}
